package com.bkhc.business.entity.vo;

import com.bkhc.common.enu.IndentityEnum;
import com.bkhc.common.enu.OrderStatusEnum;
import lombok.Data;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;
import java.util.Date;
import java.util.List;

@Data
@EntityListeners(AuditingEntityListener.class)
public class Order {
    private String id ;

    private String orderCode;


    private String productCode;


    private String productName;


    private String brand;


    private String brandName;


    private String userId;


    private String username;


    private IndentityEnum identity;


    private String mobile;


    private String address;


    private String businessGroup;


    private String businessGroupMember;


    private int status;


    private String remark;


   // private List<OrderItem> orderitems;


    private String creator;


    private Date createDate;


    private String updator;


    private Date updateDate;


    //客户提交订单  1
    //业务员审批驳回  10
    //业务员审批通过提交 11
    //业务合伙人驳回 110
    //业务合伙人通过提交至产品合伙人 111
    //产品合伙人同意 1111
    //产品合伙人不同意 1110
    private int auditStatus;

}
